package com.javasm.crm.domin.entity.sell;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lqz
 * @since 2021-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SellOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;//主键

    private String sellCode;//销售订单编号

    private String orderType;//

    private String orderAction;//

    private String businessType;//

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderCreateTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime outOrderCreateTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime refuseTime;

    private String refuseReason;

    private String consigneeName;

    private String memberAccount;

    private String phoneNumber;

    private String cellphoneNumber;

    private String postalCode;

    private String deliveryAddress;

    private String deliveryArea;

    private String deliveryWay;

    private Double deliveryCost;

    private String payWay;//

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime selfPickupTime;

    private String email;

    private String payer;

    private String remark;


}
